package com.yuanfeng.base.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yuanfeng.base.entity.BaseInvoiceAddressEntity;
import com.yuanfeng.commoms.util.ResponseResult;

import java.util.Map;

/**
 *
 */
public interface BaseInvoiceAddressService extends IService<BaseInvoiceAddressEntity> {

    /**
     * 查询发票地址模版信息
     *
     * @param param
     * @return
     */
    ResponseResult queryAddressTmp(Map<String, Object> param);

    /**
     * 更新发票地址模版信息
     *
     * @param param
     * @return
     */
    ResponseResult updateAddressTmp(Map<String, Object> param);

    /**
     * 删除发票地址模版信息
     *
     * @param param
     * @return
     */
    ResponseResult deleteAddressTmp(Map<String, Object> param);

    /**
     * 查询收票人地址列表
     *
     * @param param
     * @return
     */
    ResponseResult queryInvoiceAddressList(Map<String, Object> param);

    /**
     * 插入发票地址模版信息
     *
     * @param param
     * @return
     */
    ResponseResult insertAddressTmp(Map<String, Object> param);
}
